package com.chehongwei.aspect;

public class MyPointCut
    implements Pointcut {

    private String classPattern;
    private String methodPattern;

    public MyPointCut(
        String classPattern,
        String methodPattern) {
        this.classPattern = classPattern;
        this.methodPattern = methodPattern;
    }

    @Override
    public String getClassPattern() {
        return classPattern;
    }

    @Override
    public String getMethodPattern() {
        return methodPattern;
    }

    public void setClassPattern(
        String classPattern) {
        this.classPattern = classPattern;
    }

    public void setMethodPattern(
        String methodPattern) {
        this.methodPattern = methodPattern;
    }
}
